
#-*- coding:UTF-8 -*-
def COUNT(a,b,c):
    if c == '+':
        print a,'+',b,'=',(a + b);
    elif c == '-':
        print a,'-',b,'=',(a - b);
    elif c == '*':
        print a,'*',b,'=',(a * b);
    elif c == '/':
        print a,'/',b,'=',(a / b);
    elif c == '%':
        print a,'%',b,'=',(a % b);
    else:
        return 1;   "error"   
while_condition = True;
while while_condition:
    a = int(input("请输入第一个数："));
    b = int(input("请输入第二个数："));
    c = raw_input("请输入要执行的四则运算(+-*/%)：");
    if COUNT(a,b,c) == 1:
      print "error operation";
   
